#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int a[10] = { 1,2,3,4,5,6,7,8,9,10 };
	int b[10] = { 10,20,30,40,50,60,70,80,90,100 };
	int c[1] = { 0 };
	for (int i = 0; i < 10; i++)
	{
		c[0] = a[i];
		a[i] = b[i];
		b[i] = c[0];
	}
	printf("a[10]=");
	for (int i = 0; i < 10; i++)
	{
		printf("%d ",a[i]);
	}
	printf("\nb[10]=");
	for (int i = 0; i < 10; i++)
	{
		printf("%d ", b[i]);
	}
}